package cn.xydpeng.springframework.aop;

import java.io.Serializable;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2022/10/21
 * @description:
 */
public final class TruePointcut implements Pointcut, Serializable {
    public static final TruePointcut INSTANCE =new TruePointcut();

    private TruePointcut() { }

    @Override
    public ClassFilter getClassFilter() { return ClassFilter.TRUE;}

    @Override
    public MethodMatcher getMethodMatcher() { return MethodMatcher.TRUE;}
}
